from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

import mainPage
import jsonPages

application = webapp.WSGIApplication([
                                      ('/', mainPage.MainPage),
                                      ('/playerform', mainPage.PlayerForm),
                                      ('/todos.json', jsonPages.Todos),
                                      ('/topBarData.json', jsonPages.TopBarData),
                                      ('/filteredplayerlist.json', jsonPages.FilteredPlayerList),
                                      ('/player.json', jsonPages.Player),
                                      ], debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
